package com.jxc.biz.impl;

import com.jxc.biz.OrderBiz;
import com.jxc.dao.OrderDao;
import com.jxc.entity.Order;
import com.jxc.util.PageBean;

public class OrderBizImpl implements OrderBiz {

	private OrderDao dao;
	
	public void delete(Order order) {
         dao.delete(order);
	}

	public Order getOrder(Order order) {
		return dao.getOrder(order);
	}

	public PageBean getOrderList(String hql, PageBean pb) {
		return dao.getOrderList(hql, pb);
	}

	public void saveOrder(Order order) {
    dao.saveOrder(order);
	}

	public void updateOrder(Order order) {
     dao.updateOrder(order);
	}
	public OrderDao getDao() {
		return dao;
	}

	public void setDao(OrderDao dao) {
		this.dao = dao;
	}

}
